//
//  WBStatusToolBar.swift
//  Weibo
//
//  Created by Albert Zhu on 16/10/19.
//  Copyright © 2016年 Albert Zhu. All rights reserved.
//

import UIKit

class WBStatusToolBar: UIView {

    @IBOutlet weak var retweetBtn: UIButton!
    @IBOutlet weak var commentBtn: UIButton!
    @IBOutlet weak var likeBtn: UIButton!
    
    var viewModel: WBStatusViewModel? {
        didSet {
            retweetBtn.setTitle(viewModel?.retweetedStr, for: [])
            commentBtn.setTitle(viewModel?.commentStr, for: [])
            likeBtn.setTitle(viewModel?.likeStr, for: [])
        }
    }
}
